﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CassirApp
{
  public partial class Ticket3 : Form
  {
    public Ticket2 t2form;
    public string resultTicket;

    public Ticket3(Ticket2 form)
    {
      InitializeComponent();
      t2form = form;
      placeTextBox.Text = t2form.chosenTicket;
    }

    private void button2_Click(object sender, EventArgs e)
    {
      resultTicket = addTextBox.Text;
      TicketFin form = new TicketFin(this);
      form.Show();
    }

    private void button1_Click(object sender, EventArgs e)
    {
      Close();
    }
  }
}
